//	@file Version: 1.0
//	@file Name: ADP_F_Spawn.sqf
//	@file Author: THumbert
//	@file Created: 12/14/2013
//	@file Description: Spawns selected Item

_listbox = _this select 0;
_targetItem = lbData [_listbox, (lbCurSel _listbox)];
_type = lbValue [_listbox, (lbCurSel _listbox)];
hint "";
switch (_type) do
{
	case 0: {[_listbox,_targetItem,_type] call ADP_fnc_getWeapon;};
	case 1: {[_listbox,_targetItem,_type] call ADP_fnc_getWeapon};
	case 2: {[_listbox,_targetItem,_type] call ADP_fnc_getWeapon;};
	case 3: {[_listbox,_targetItem,_type] call ADP_fnc_getWeapon};
	case 4: {[_listbox,_targetItem,_type] call ADP_fnc_getVehicle};
	case 5: {[_listbox,_targetItem,_type] call ADP_fnc_getItem};
	case 6: {[_listbox,_targetItem,_type] call ADP_fnc_getItem};
	case 7: {[_listbox,_targetItem,_type] call ADP_fnc_getItem};
	case 8: {[_listbox,_targetItem,_type] call ADP_fnc_getItem};
	case 9: {[_listbox,_targetItem,_type] call ADP_fnc_getObject};
};